package com.wad.manager.service;

import com.github.pagehelper.PageInfo;
import com.wad.dto.product.CategoryBrandDto;
import com.wad.entity.product.CategoryBrand;
import org.springframework.stereotype.Service;

/**
 * @author wad
 * @date 2023/12/08 11:11
 * @project e-commerce
 **/
@Service
public interface CategoryBrandService {
    PageInfo<CategoryBrand> findByPage(Integer page, Integer limit, CategoryBrandDto categoryBrandDto);


    void save(CategoryBrand categoryBrand);

    void update(CategoryBrand categoryBrand);

    void deleteById(Long id);
}
